package org.zju.demo.service.intf;

import org.zju.demo.model.Category;

import java.util.List;

/**
 * Created by admin on 2015/8/27.
 */
public interface CategoryInfoIntf {
    public int addCategory(String categoryName);
    public Category findByCategoryName(String categoryName);
    public List<Category> getAllCategory();
    public Category findById(int id);

}
